how to write tuples in elixir

64

how to write tuples in elixir -

iex> {:ok, "hello"}
{:ok, "hello"}
iex> tuple_size {:ok, "hello"}
2

Comments

Submit
0 Comments